package bean;

import java.sql.Timestamp;

import data.bean.DataBean;
import data.bean.DatabaseEntity;
import data.bean.DatabaseField;

@DatabaseEntity(tableName="Product")
public class Product extends DataBean {

	static {
		REGISTER(Product.class);
	}

	@DatabaseField(name="id", type=Long.class, autoGenerate=true, primaryKey=true)
	private Long id;
	
	@DatabaseField(name="producedtime", type=Timestamp.class)
	private Timestamp producedtime;
	
	@DatabaseField(name="productprofileid", type=Long.class)
	private Long productprofileid;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getProducedtime() {
		return producedtime;
	}

	public void setProducedtime(Timestamp producedtime) {
		this.producedtime = producedtime;
	}

	public Long getProductprofileid() {
		return productprofileid;
	}

	public void setProductprofileid(Long productprofileid) {
		this.productprofileid = productprofileid;
	}
}
